/**
 * 
 */
package pt.mleiria.vo;

import java.sql.Date;

/**
 * @author root
 *
 */
public class GuestbookVO {
	private final String name;
	private final String comment;
	private final String regDate;
	private String ipOrigin;
	private boolean isApproved;
	
	/**
	 * 
	 */
	public GuestbookVO(final String name, final String comment, final String regDate, final String ipOrigin, final boolean isApproved) {
		this.name = name;
		this.comment = comment;
		this.regDate = regDate;
		this.ipOrigin = ipOrigin;
		this.isApproved = isApproved;
	}
	public GuestbookVO(final String name, final String comment, final String regDate) {
		this.name = name;
		this.comment = comment;
		this.regDate = regDate;
	}
	
	/**
	 * @return the isApproved
	 */
	public boolean isApproved() {
		return isApproved;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @return the comment
	 */
	public String getComment() {
		return comment;
	}

	/**
	 * @return the regDate
	 */
	public String getRegDate() {
		return regDate;
	}

	/**
	 * @return the ipOrigin
	 */
	public String getIpOrigin() {
		return ipOrigin;
	}
	

}
